/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package is202.hrms.web;

import is202.hrms.entity.Student;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.enterprise.context.RequestScoped;
import javax.inject.Named;


/**
 *
 * @author even
 */
@Named("studentbean")
@RequestScoped
public class StudentBean implements Serializable {
    List<Student> students;

    public StudentBean() {
        students = new ArrayList<Student>();
        for (int i = 0; i < 10; i++) students.add(new Student());
    }

    public List<Student> getAllStudents() {
        return students;
    }

    public void setAllStudents(List<Student> students) {
        this.students = students;
    }



}
